Skip to main content

MakeCall API

Initiates a call from a business phone number to a customer.


API Endpoint

api/v2/calling/telecalling?apikey=<API KEY>&email=<EMAIL ID>&call_to=<PHONE NUMBER>

Request Syntax

POST api/v2/calling/telecalling?apikey=<API KEY>&email=<EMAIL ID>&call_to=<PHONE NUMBER>

Request Body

  • Content-Type:
    • application/x-www-form-urlencoded (form-data)
  • Parameters:
    • email: Caller’s EMAIL
    • apikey: API KEY
    • call_to: PHONE NUMBER

Example

Sample Request

curl --location --request GET "https://alb-backend.msgkart.com/api/v2/calling/telecalling?apikey=<API KEY>&email=<EMAIL ID>&call_to=<PHONE NUMBER>"

Response

  • HTTP Status Code: 200 OK (successful), 4xx/5xx (error)
  • Response Body: JSON object containing call details (Call Reference ID etc.)

Error Handling

  • Invalid credentials: 401 Unauthorized
  • Missing/invalid parameters: 400 Bad Request
  • Internal server error: 500 Internal Server Error